const { ccclass, property } = cc._decorator;

@ccclass
export default class obstaclePrefab extends cc.Component {
    public obstaclePrefab
    public choose
    public IconNode 
    public spine 
    public itemParent 
    onLoad() {
        this.obstaclePrefab = this.node;
        this.choose = this.obstaclePrefab.getChildByName("choose");
        this.IconNode = this.obstaclePrefab.getChildByName("IconNode");
        this.spine = this.obstaclePrefab.getChildByName("spine");
        this.itemParent = this.obstaclePrefab.getChildByName("itemParent");
    }

    static get URL() {
        return "db://assets/resources/prefabs/MatchGame/obstaclePrefab.prefab";
    }
}
